<template>
    <div class="left-menu">
        <div class="left-box">
            <slot></slot>
        </div>
    </div>
</template>
<script>
export default {
    methods: {},
}
</script>
<style lang="scss">
.el-menu {
    border: none;
}
.left-menu {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.left-box {
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.left-box::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 8px; /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
}
.left-box::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(193, 193, 193, 0.5);
    background: #c1c1c1;
}
.left-box::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    box-shadow: inset 0 0 5px #cfccc9;
    background: #fff;
}
</style>
